package com.heima.wemedia.feign;

import com.heima.model.behavior.pojos.ApReadBehavior;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "leadnews-behavior")
public interface BehaviorFeign {

    // 查询阅读量
    @PostMapping("/api/v1/read_behavior/queryReadCount")
    List<ApReadBehavior> queryReadCount(List<Long> articleList);


    // 查询粉丝实体ID集合
    @PostMapping("/api/v1/behavior_entry/findFansEntryId")
    List findFansEntryId(List fansIdList);
}
